package tree.exp;

import tree.ExpList;
import tree.stm.Stm;

public class ESEQ extends Exp {
          
    /***/
    public Stm stm;
    /***/
    public Exp exp;

    /**
     * 
     * */
    public ESEQ(Stm s, Exp e) {
            stm=s;
            exp=e;
    }
    
    /**
     * 
     * */
    public ExpList kids() {
            throw new Error("kids() not applicable to ESEQ");
    }
    
    /**
     * 
     * */
    public Exp build(ExpList kids) {
            throw new Error("build() not applicable to ESEQ");
    }

    /**
     * 
     * */
    public String print() {
            return "ESEQ("+ stm.print()+ " ,"+exp.print()+ ");";
    }
}